<template>
	<view>
		<u-navbar class="navbar" height="40px" :fixed="true" :placeholder="true" :autoBack="autoBack" :title="title" :leftIconSize=leftIconSize
			:bgImage="navBg" :bgColor="bgColor"></u-navbar>
			<!-- <u-navbar class="navbar" height="40px" :fixed="true" :placeholder="true" :autoBack="autoBack" :title="title" :leftIconSize=leftIconSize
				v-bind="$attrs"></u-navbar> -->
	</view>
		

</template>

<script>
	export default {
		props: {
			title: {
				type: String,
			},
			autoBack: {
				type: Boolean
			},
			leftIconSize:{
				type: [String,Number]
			},
			navBg:{
				type:String,
				default:'linear-gradient(to left, #00C6EC, #0289E2)'
			},
			bgColor:{
				type:String,
				default:null
			}
		},
		data() {
			return {
				// navBg: 'linear-gradient(to left, #00C6EC, #0289E2)'
			}
		},
		mounted() {
		}
	}
</script>

<style>
</style>
